package com.qm.console.model;

import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


/**
 * Created by Edison.hu on 18/7/25.
 */

@Getter
@Setter
@ToString
public class SysPermission {

    private Integer id;           //主键.
    private String name;          //名称.
    private String permission;    //权限字符串
    private String path;          //前端路由地址.
    private Integer parentId;     //父节点ID
    private Integer level;        //级别
    private String icon;          //前端用的Icon
    private Integer sortId;         //前端用的title
    private Date updatedAt;       //更新时间
    private Date createdAt;       //创建时间
    private Integer autoRoute;    // 是否自动创建路由
    private Integer pageId;       // page对应的id
    private Integer pageType;     // page对应的类型 默认0, 写死在前端代码里 1/ list page, 2/ es page
}
